<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>在线考试系统</title>
    <link type="text/css" rel="styleSheet"  th:href="@{../static/css/admin_main.css}" />
    <script th:src="@{../static/js/jquery.js}"></script>
    <script th:src="@{../static/js/admin-ce.js}"></script>
    <script>
        $(function () {
            $(".startExam").click(function () {
                $(".contentIframe").attr("src","/start_exam");

            });
            $(".lookGrade").click(function () {
                $(".contentIframe").attr("src","/student_grade");

            });
        })
    </script>
    <!--配置图标-->
    <link rel="icon" th:href="@{../static/img/favicon.ico}" type="image/x-icon"/>
</head>
<body>
<div class="main">
    <div class="title">
        <div class="user">
            <img th:src="@{../static/img/username.png}" width="28px" height="28px">
        </div>
        <div class="username">
            <p th:text="${student_name}" ></p>
        </div>
        <div class="out">
            <a th:href="@{/index.html}">注销</a>
        </div>
    </div>
    <div class="content">
        <div class="content-left">
            <div class="left-title">
                <p>后台管理</p>
            </div>
            <!--分割线-->
            <div class="seg">
            </div>
            <!--菜单导航栏-->
            <div class="nav">
                <!--每一个菜单-->
                <div class="nav-menu">
                    <!--主标题-->
                    <div class="nav-title">考试管理</div>
                    <!--子标题-->
                    <div class="nav-content">
                        <p class="startExam">开始考试</p>
                    </div>
                </div>
                <div class="nav-menu">
                    <!--主标题-->
                    <div class="nav-title">成绩管理</div>
                    <!--子标题-->
                    <div class="nav-content">
                        <p class="lookGrade">查看成绩</p>
                    </div>
                </div>
                <div class="nav-menu">
                    <!--主标题-->
                    <div class="nav-title">个人信息</div>
                    <!--子标题-->
                    <div class="nav-content">
                        <a th:href="@{/student/update_password}">修改密码</a>
                    </div>
                </div>
            </div>
            <!--分割线-->
            <div class="seg">
            </div>
        </div>
        <div class="content-right">
            <iframe class="contentIframe" th:src="@{/student_ex_course}" scrolling="no" name="iframe" frameborder="0"></iframe>
        </div>
    </div>
</div>

</body>
</html>